package com.yenlien.traceyun.business.entity;

import com.yenlien.traceyun.webase.entity.BaseIdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * @author: bigwangy@sina.com
 * @create: 2020-12-24
 * @description:物流
 **/

@Entity(name = "t_logistics")
public class Logistics extends BaseIdEntity {

    /**
     * 订单id
     */
    @Column(name = "client_order_id", length = 32)
    private String clientOrderId;

    /**
     * 司机姓名
     */
    @Column(name = "driver_name", length = 10)
    private String driverName;

    /**
     * 司机手机号
     */
    @Column(name = "driver_phone", length = 15)
    private String driverPhone;

    /**
     * 车牌号
     */
    @Column(name = "car_num", length = 10)
    private String carNum;

    /**
     * 物流公司
     */
    @Column(name = "logistics_company", length = 20)
    private String logisticsCompany;

    /**
     * 物流单号
     */
    @Column(name = "logistics_num", length = 30)
    private String logisticsNum;

    private String charge; //费用

    public String getCharge() {
        return charge;
    }

    public void setCharge(String charge) {
        this.charge = charge;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverPhone() {
        return driverPhone;
    }

    public void setDriverPhone(String driverPhone) {
        this.driverPhone = driverPhone;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public String getLogisticsCompany() {
        return logisticsCompany;
    }

    public void setLogisticsCompany(String logisticsCompany) {
        this.logisticsCompany = logisticsCompany;
    }

    public String getLogisticsNum() {
        return logisticsNum;
    }

    public void setLogisticsNum(String logisticsNum) {
        this.logisticsNum = logisticsNum;
    }

    public String getClientOrderId() {
        return clientOrderId;
    }

    public void setClientOrderId(String clientOrderId) {
        this.clientOrderId = clientOrderId;
    }
}
